load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "credentials",
    srcs = [
        "chain_provider.go",
        "context_background_go1.5.go",
        "context_background_go1.7.go",
        "context_go1.5.go",
        "context_go1.9.go",
        "credentials.go",
        "env_provider.go",
        "shared_credentials_provider.go",
        "static_provider.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/github.com/aws/aws-sdk-go/aws/credentials",
    importpath = "github.com/aws/aws-sdk-go/aws/credentials",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/github.com/aws/aws-sdk-go/aws/awserr",
        "//vendor/github.com/aws/aws-sdk-go/internal/context",
        "//vendor/github.com/aws/aws-sdk-go/internal/ini",
        "//vendor/github.com/aws/aws-sdk-go/internal/shareddefaults",
        "//vendor/github.com/aws/aws-sdk-go/internal/sync/singleflight",
    ],
)
